From: Georges Basile Stavracas Neto Date: Wed, 4 Dec 2019 20:09:10 +0000 (-0300) Subject: appDisplay: Show newly created folder when creating X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~334 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d28bc7afe67582f6c26103261a8c46b8d559b7e0;p=gnome-shell.git appDisplay: Show newly created folder when creating The icon grid currently sorts icons by their names. When creating new folders, the folder may end up being in a different page, and that's confusing since we don't actually move to where the new folder is. Move the icon grid to the newly created folder. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/883 --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 61dd7ae43..2dcf866e4 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -923,6 +923,8 @@ var AllView = GObject.registerClass({ newFolderSettings.set_strv('apps', apps); newFolderSettings.apply(); + this.selectApp(newFolderId); + return true; } });